package com.nk.system.service;

import org.springframework.transaction.annotation.Transactional;

import com.nk.system.beans.UserProfileBean;
import com.nk.system.beans.UsersBean;

public interface AuthenticationService {
	@Transactional
	public UsersBean authentication(String username, String password);
	public boolean authenticationNewUser(String username, String email);
	public void insert(String user, String pass1, String fName, String lName, String sex, String day, String month, String year, String mail, String school,int level,float grade);
	public UserProfileBean getUserProfile(int id);
	public void setUpdateUserProfile(int id, String fName, String lName, String sex, String school, int level, float grade);
	public UsersBean authentication2(int id);
}
